package com.maykk.Demo01;

public class Person {
    public String name;
    public int age;

    Person() {
    }

    Person(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public void eat() {
        System.out.println("Person会吃");
    }

    public void sleep() {
        System.out.println("Person会睡");
    }
}
